/*************************************************************************
  Crytek Source File.
  Copyright (C), Crytek Studios, 2001-2010.
 -------------------------------------------------------------------------
  $Id$
  $DateTime$
  
 -------------------------------------------------------------------------
  History:
  - Oct 28th, 2010  : Created by Michelle Martin
 *************************************************************************/

#ifndef __IKTARGET_BONE_H__
#define __IKTARGET_BONE_H__

#if _MSC_VER > 1000
# pragma once
#endif

#include "IKTargetBase.h"


//! This IKTarget follows a bone of a character
class CIKTarget_Bone : public CIKTarget_Base
{
public:
	CIKTarget_Bone(const SIKTargetParams& ikParams, QuatT &startPosition, EntityId targetEntityID, uint boneId);
	~CIKTarget_Bone() {}


private:
	// don't cheat me on the default constructor
	CIKTarget_Bone();

	virtual QuatT UpdateWorldPos(float frameTime);

private:

	IEntity*	m_targetEntity;
	uint			m_boneId;
};


#endif // __IKTARGET_BONE_H__

